package com.design.pattern.adapter.classpattern;

    import com.design.pattern.adapter.PowerStrip;

/**
 * 手机适配器（桥梁）
 */
public class PhoneAdapter extends PhoneCharge implements PowerStrip {

    public void charger(String name) {
        input(); // 数据线连接手机
        System.out.println(name + "插入适配器，正在充电");
    }
}
